<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
       $Subject = D('Subject');
       $list= $Subject->select();
       $this->assign('list',$list);
       $this->display();
    }



}